home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / PROGNG_C / TCHK060.LZH / STRINGHK.H < prev    next >
Text File  |  1988-01-15  |  1KB  |  22 lines

  1. /* TCHK 0.60 - Howard Kapustein's Turbo C library      1-15-88 */
  2. /* Copyright (C) 1988, Howard Kapustein.  All rights reserved. */
  3.  
  4. /* stringhk.h  -  Howard Kapustein's string header file */
  5.  
  6.  
  7. /* function prototypes */
  8. int intlen(char *number);       /* find length of integer part of string */
  9. char *strcomma(char *source);   /* convert a string to xx,xxx,xxx format */
  10. char *strtodol(char *source);   /* convert string to $ format */
  11. char *ltrim(char *source);             /* trim blanks on left */
  12. char *rtrim(char *source);             /* trim blanks on right */
  13. char *atrim(char *source);             /* trim blanks on left & right */
  14. char *strins(char *source, char *new, char *ptr);      /* string insert */
  15. char *strdel(char *source, char *old); /* string delete */
  16. char *strrep(char c, int len);         /* replicate c len times */
  17. char *leftstr(char *source, int len);  /* LEFT$(SOURCE$,len) */
  18. char *rightstr(char *source, int len); /* RIGHT$(SOURCE$,len) */
  19. char *midstr(char *source, int begin, int len);  /* MID$(SOURCE$,begin,len) */
  20. char *strshleft(char *source, int count);    /* shift string left count chars */
  21. char *strshright(char *source, int count);   /* shift string right count chars */
  22.